package cn.seecoder.ai.dao;

import cn.seecoder.ai.model.po.AnalysisVisualization;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface AnalysisVisualizationRepository extends JpaRepository<AnalysisVisualization, Integer>, JpaSpecificationExecutor<AnalysisVisualization> {
    List<AnalysisVisualization> findByAnalysisConfigIdAndUserId(Integer analysisConfigId, Integer userId);
}